package com.example.enterprise.dao;

import com.example.enterprise.entity.HiddenDanger;
import com.example.enterprise.entity.HiddenDangerExample;
import com.example.enterprise.entity.HiddenDangerWithBLOBs;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface HiddenDangerMapper {
    long countByExample(HiddenDangerExample example);

    int deleteByExample(HiddenDangerExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HiddenDangerWithBLOBs record);

    int insertSelective(HiddenDangerWithBLOBs record);

    List<HiddenDangerWithBLOBs> selectByExampleWithBLOBs(HiddenDangerExample example);

    List<HiddenDanger> selectByExample(HiddenDangerExample example);

    HiddenDangerWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HiddenDangerWithBLOBs record, @Param("example") HiddenDangerExample example);

    int updateByExampleWithBLOBs(@Param("record") HiddenDangerWithBLOBs record, @Param("example") HiddenDangerExample example);

    int updateByExample(@Param("record") HiddenDanger record, @Param("example") HiddenDangerExample example);

    int updateByPrimaryKeySelective(HiddenDangerWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(HiddenDangerWithBLOBs record);

    int updateByPrimaryKey(HiddenDanger record);
}